package com.baizhi.service.impl;

import com.baizhi.entity.Record;
import com.baizhi.entity.Student;
import com.baizhi.mapper.StudentMapper;
import com.baizhi.service.IStudentService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import net.bytebuddy.matcher.RecordMatcher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author longyang
 * @since 2022-01-11
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {
    @Autowired
    private StudentMapper studentMapper;
    @Override
    public List<Student> selectStudent() {
        List<Student> students = studentMapper.selectList(null);
        return students;
    }
}
